//
//  XMChatVoideSend.h
//  XMJJ_zmy
//
//  Created by 丁浩 on 2025/7/5.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_OPTIONS(NSUInteger, TUIChatAuthControlType) {
    TUIChatAuthControlTypeMicro = 1 << 0,
    TUIChatAuthControlTypeCamera = 1 << 1,
    TUIChatAuthControlTypePhoto = 1 << 2,
};

@interface XMChatVoideSend : NSObject

@property(nonatomic, assign, class, readonly) BOOL isEnableCameraAuthorization;
@property(nonatomic, assign, class, readonly) BOOL isEnableMicroAuthorization;

+ (void)cameraStateActionWithPopCompletion:(void (^)(void))completion API_AVAILABLE(ios(8.0));
+ (void)microStateActionWithPopCompletion:(void (^)(void))completion API_AVAILABLE(ios(8.0));

+ (void)openSettingPage;
+ (void)showAlert:(TUIChatAuthControlType)type;

@end

NS_ASSUME_NONNULL_END
